package com.Test.JavaFeatureHomework;

public class Worker {
	private String name;
	private double salary;
	private int day;
	
	public Worker(String name,double salary,int day) {
		this.name = name;
		this.salary = salary;
		this.day = day;
	}
	
	public String getName() {
		return this.name;
	}
	public void setName() {
		this.name = name;
	}
	
	public double getSalary() {
		return this.salary;
	}
	public void setSalary() {
		this.salary = salary;
	}
	
	public int getDay() {
		return this.day;
	}
	
	public double Income(double salary,int day) {
		return salary * day;
	}
}
